#!/usr/bin/env python3
# -*- coding: UTF-8 -*-

import random

minn=int(input())
maxn=int(input())
maxdata=2100000000
if(minn>maxn):
    n=random.randrange(minn,maxn)
else:
    n=minn

print(n)

for i in range(n):
    print(random.randrange(0,maxdata))
